package bm.com.project.server.organization.mapper;

import bm.com.project.server.organization.entity.BmOrgEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface BmOrgMapper extends BaseMapper<BmOrgEntity> {

    /**
     * 通过组织id和用户id获取组织信息
     * @param orgId
     * @param userId
     * @return
     */
    BmOrgEntity getOrgByIdAndUserId(long orgId,long userId);

}
